package com.luocc.tim.ui;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;

import com.luocc.tim.R;
import com.luocc.tim.header.TimHeader;

public class ContactsFragment extends Fragment {

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_contacts, container, false);
        TimHeader header = view.findViewById(R.id.contacts_header);
        header.setText(R.string.contacts);
        header.setImage(R.mipmap.add_friend);
        return view;
    }
}
